package com.briup.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentWithAddress {
    private String name;
    private int age;
    //嵌套其他类对象
    private Address address;
}